package com.openget.lang;
import java.util.*;
import java.util.concurrent.*;

import com.openget.util.IDelegate;

public interface IInfrastructure {

	byte[] httpFetch(String url, String httpMethod, Hashtable<String, String> headers, Hashtable<String, String> payload);
	void httpFetchAsync(String url, String httpMethod, Hashtable<String, String> headers, Hashtable<String, String> payload, 
			IDelegate<byte[]> callback);

}
